<template>
  <div class="scroll-box part-related">
    <PiAnchorPanel :tableList containerClass="part-related"></PiAnchorPanel>
  </div>
</template>

<script setup>
import explanation from './explanation.vue';
import referenceDoc from './referenceDoc.vue';
import cadDoc from './cadDoc.vue';
import globalReplace from './globalReplace.vue';
import specificReplace from './specificReplace.vue';
import processPlan from './processPlan.vue';

const tableList = [
  {
    name: '说明方文档',
    id: 'explanation',
    value: explanation,
  },
  {
    name: '参考文档',
    id: 'referenceDoc',
    value: referenceDoc,
  },
  {
    name: 'CAD/动态文档',
    id: 'cadDoc',
    value: cadDoc,
  },
  {
    name: '全局替换部件',
    id: 'globalReplace',
    value: globalReplace,
  },
  {
    name: '特定替换部件',
    id: 'specificReplace',
    value: specificReplace,
  },
  {
    name: '工艺计划',
    id: 'processPlan',
    value: processPlan,
  },
];
</script>

<style scoped lang="less">
.part-related {
  height: calc(100% - 25px);
}
</style>
